package com.suxin.thread.schedulev2.error;

import com.suxin.thread.schedulev2.TaskExecutorThread;
import com.suxin.thread.schedulev2.TaskResult;

/**
 * @author Tang
 * @classname ExecutorErrorHandler
 * @description [  ]
 * @date 2021/6/10 15:24
 */
public interface ExecutorErrorHandler {

    void handlerTaskError(TaskExecutorThread taskExecutorThread, TaskResult taskResult);

    JobError handlerJobError();

}